<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<body>
	<h1>测试上传：</h1>
	<form method="post" enctype="multipart/form-data" action="http://localhost:8080/usr/upload">
		文件: <input type="file" name="imgFile" /><br />
			<input type="text" name="dir"><br>
			 <input type="submit" value="上传" />
	</form>
</body>
</html>